﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _20170202_GameNode
{
    class Game
    {
        public int newNodeX(GameField field)
        {
            Random rnd = new Random();
            return field.StartX + rnd.Next(0, field.Width);
        }
        public int newNodeY(GameField field)
        {
            Random rnd = new Random();
            return field.StartY + rnd.Next(0, field.Height);
        }
    }
}
